import React from 'react'
import './css/dialog.css'
const Dialog = (props) => {
    return (
        <div>
            <div className="dialog-head">
            <img src={require('./images/img1.jpg')} className="mes-photo"></img>
                <span>{props.location.name}</span>
            </div>
            <div className='send'>
                <input type='text'/>
                <div className='sendBtn'>发送</div>
            </div>
            
        </div>
    )
}

export default Dialog
